package org.orz.cloud.lock;

/**
 * 分布式锁的属性
 */
public class LockProperties {
	/**
	 * 是否启动锁
	 */
	public static final String LOCK_ENABLED_KEY = "orz.cloud.lock.enabled";

	/**
	 * 锁类型
	 */
	public static final String LOCK_TYPE_KEY = "orz.cloud.lock.type";

	/**
	 * zk锁的url
	 */
	public static final String LOCK_ZK_URL = "orz.cloud.lock.zookeeper.url";

	/**
	 * zk锁
	 */
	public static final String LOCK_TYPE_VAL_ZK = "zk";
}
